﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using GGJ_DKG.Managers;
using GGJ_DKG.Menu;
using GGJ_DKG.Objects;

namespace GGJ_DKG.Menu
{
    class Exit:Screen
    {
        public Exit(Texture2D image, Vector2 position)
            : base(image, position)
        {
            this.image = image;
            this.position = position;
        }

        public override void Load(ContentManager Content, GameWindow Window)
        {
            throw new NotImplementedException();
        }

        public override void Update(GameTime gameTime)
        {
                Game1.Self.Exit();
        }

        public override void Draw(SpriteBatch spriteBatch, GameTime gameTime)
        {
        }

    }
}
